package com.seewintech.framework.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.seewintech.framework.entity.Account;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author by xiaoTian
 * @date 2022/6/14.
 */
@Mapper
public interface AccountMapper {

    List<Account> selectAccountList();

    Account selectAccountById(Long id);

    Integer remove(Long id);

    Integer update(Account account);

    Integer insert(Account account);

    Account selectAccountByName(String name);
}
